ADD_EXECUTABLE(bxb bxb.c)
TARGET_LINK_LIBRARIES(bxb  wfdb  )
# message(STATUS "hello")
# install(TARGETS bxb
#         EXPORT MyMathTargets
#         LIBRARY DESTINATION lib
#         ARCHIVE DESTINATION lib
#         RUNTIME DESTINATION bin
#         PUBLIC_HEADER DESTINATION include)

ADD_EXECUTABLE(sumstats sumstats.c)
TARGET_LINK_LIBRARIES(sumstats  wfdb  )
ADD_EXECUTABLE(rxr rxr.c)
TARGET_LINK_LIBRARIES(rxr  wfdb  )

ADD_EXECUTABLE(ecgeval ecgeval.c)
TARGET_LINK_LIBRARIES(ecgeval  wfdb  )

ADD_EXECUTABLE(epicmp epicmp.c)
TARGET_LINK_LIBRARIES(epicmp  wfdb  )


ADD_EXECUTABLE(qrs2ate qrs2ate.cpp)
TARGET_LINK_LIBRARIES(qrs2ate  wfdb)

ADD_EXECUTABLE(ddr2ate ddr2ate.cpp)
TARGET_LINK_LIBRARIES(ddr2ate  wfdb  )
